package io.gitee.zhangbinhub.admin.oauth.mapper;

import io.gitee.zhangbinhub.admin.oauth.entity.Organization;
import io.gitee.zhangbinhub.admin.resource.server.vo.OrganizationVo;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface OrganizationMapper {
    OrganizationMapper INSTANCE = Mappers.getMapper(OrganizationMapper.class);

    OrganizationVo entityToVo(Organization org);
}
